if (foo) {
    // do something
}
try {
    // do something
} catch (e) {}
